<html>
<!--
Copyright (c) 2013 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<head>
<title>PNaCl Load Options Test</title>
<script type="text/javascript" src="nacltest.js"></script> 
<script type="text/javascript" src="load_util.js"></script> 
<script type="text/javascript" src="simple_cc.js"></script> 
</head>
<body>
<h2>PNaCl Load Options Test</h2>
</body>
<script>

function create(manifest_prefix, manifest_opt) {
  var embed = document.createElement("embed");
  var nmf_url = manifest_prefix + manifest_opt + ".nmf";

  embed.src = nmf_url;
  embed.type = "application/x-pnacl";
  simple_test.addTestListeners(embed);
  document.body.appendChild(embed);
}

var nmf_to_test = getTestArguments(
  {'use_nmf' : 'Unknown NMF choice'})['use_nmf'];

create("pnacl_", nmf_to_test);
</script>
</html>
